fix(algolia): remove fabricated pendingTask field from get_task_status

Algolia's Get Task Status response (additionalProperties: false) only
returns `status` (published | notPublished) — pendingTask belongs to
the List Indices response, not this endpoint. Drop it from the tool's
output, response type, and block outputs rather than inventing data.
This commit is contained in:
waleed
2026-07-01 23:53:36 -07:00
parent ec7bc76aa5
commit d1021292ec
3 changed files with 0 additions and 7 deletions
-1
View File
@@ -672,7 +672,6 @@ Return ONLY the JSON array.`,
type: 'string',
description: 'Task status: "published" once applied, "notPublished" while still pending',
},
pendingTask: { type: 'boolean', description: 'Whether the task is still pending' },
},
}
@@ -56,7 +56,6 @@ export const getTaskStatusTool: ToolConfig<
success: true,
output: {
status: data.status ?? '',
pendingTask: data.pendingTask ?? false,
},
}
},
@@ -67,9 +66,5 @@ export const getTaskStatusTool: ToolConfig<
description:
'Task status: "published" once the operation has been applied, "notPublished" while still pending',
},
pendingTask: {
type: 'boolean',
description: 'Whether the task is still pending',
},
},
}
-1
View File
@@ -286,6 +286,5 @@ export interface AlgoliaGetTaskStatusParams extends AlgoliaBaseParams {
export interface AlgoliaGetTaskStatusResponse extends ToolResponse {
output: {
status: string
pendingTask: boolean
}
}