aiAgentToolDelete
UpdatedDelete an AI Agent Tool from the AI Agent Registry.
Description: This mutation permanently removes an AI Agent Tool from the AI Agent Registry only if no associations exist.
Input Parameters:
id: ID! - Contains tool ID.
Response:
- Boolean - true if deletion was successful, false otherwise.
Example Request:
mutation DeleteAiAgentTool {
aiAgentToolDelete(id: "29e2541b-ff58-41f7-9334-de2c3ea04b70")
}
Example Response (success):
{
"data": {
"aiAgentToolDelete": true
}
}
Error Handling:
- Validates tool exists and belongs to provider account.
- Returns error if tool has associations.
- Returns descriptive error messages for invalid operations.
aiAgentToolDelete(
id: ID!
): Boolean
Arguments
aiAgentToolDelete.id ● ID! non-null scalar miscellaneous {#id}
Type
Boolean scalar miscellaneous
The Boolean scalar type represents true or false.
Was this topic helpful?