Skip to content

Commit 14b26f6

Browse files
Merge pull request #80 from stepzen-dev/fix_gql_spec_link
chore: fix the ref link to persisted document
2 parents 448aba6 + 09934b1 commit 14b26f6

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)