Skip to main content
Loading navigation
Back to prompt library

GraphQL Tool Definition

Linked challenge: Precision Target Prioritization Agent

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Using Claude Agents SDK, define a tool called 'query_open_targets' that accepts a GraphQL string. Instruction: the agent should use fragments to ensure it always retrieves 'target.id' and 'target.approvedSymbol'.