Skip to content

Commit 09934b1

Browse files
author
Ratnakar Asara
committed
chore: fix the ref link to persisted document
Signed-off-by: Ratnakar Asara <rasara@us.ibm.com>
1 parent 448aba6 commit 09934b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executable/prescribed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prescribed Tools
22

3-
A **prescribed tool** is a tool that maps to a specific [GraphQL operation](https://spec.graphql.org/September2025/#sec-Language.Operations) in a [persisted document](https://spec.graphql.org/September2025/#sec-Persisted-Documents). The `@tool(prescribed:)` argument links the tool definition to an operation name in a persisted document. This approach provides a structured way to expose specific GraphQL operations as tools that can be called by AI models.
3+
A **prescribed tool** is a tool that maps to a specific [GraphQL operation](https://spec.graphql.org/September2025/#sec-Language.Operations) in a [persisted document](https://github.com/stepzen-dev/snippets/tree/main/executable/persisted). The `@tool(prescribed:)` argument links the tool definition to an operation name in a persisted document. This approach provides a structured way to expose specific GraphQL operations as tools that can be called by AI models.
44

55
This sample demonstrates how to use the `@tool` directive to create prescribed tools for MCP (Model Context Protocol).
66

0 commit comments

Comments
 (0)