How to build, test and publish on Patch
curl --request GET \
--url https://patch.gg/api/v1/guideconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/guide', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/guide"
response = requests.get(url)
print(response.text)<string>Releases
How to build, test and publish on Patch
The guide agents read first, as Markdown, with this environment’s addresses. Needs no key. for is mcp (the default), as the MCP server’s guide tool has it, or cli, which also says which pch command or API route does what each tool does.
GET
/
guide
How to build, test and publish on Patch
curl --request GET \
--url https://patch.gg/api/v1/guideconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/guide', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/guide"
response = requests.get(url)
print(response.text)<string>Query Parameters
Available options:
mcp, cli Example:
"cli"
Response
200 - text/markdown
The guide, in Markdown
The response is of type string.