{"name":"Tunc Doc","description":"Documents for a person's agents: create, read, edit and export Markdown docs on their Tunc account.","version":"1.0.0","provider":{"organization":"TUNC LLC","url":"https://tuncdoc.com"},"documentationUrl":"https://tuncdoc.com/docs","iconUrl":"https://tuncdoc.com/apple-touch-icon.png","supportedInterfaces":[{"url":"https://a2a.tuncdoc.com/v1","protocolBinding":"JSONRPC","protocolVersion":"1.0"}],"capabilities":{"streaming":false,"pushNotifications":false,"extendedAgentCard":false},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"skills":[{"id":"doc_create","name":"Create a doc","description":"Create a doc from Markdown and get its link.","tags":["docs","write"],"examples":["{\"skill\":\"doc_create\",\"arguments\":{\"title\":\"Q3 plan\",\"markdown\":\"# Q3 plan\\n\\nShip the beta.\"}}"]},{"id":"doc_list","name":"List docs","description":"List the docs the owner can open, each with its link.","tags":["docs","read"],"examples":["{\"skill\":\"doc_list\",\"arguments\":{}}"]},{"id":"doc_read","name":"Read a doc","description":"Read a doc as Markdown, with its revision. A longer doc comes back cut, with a revision ending in #partial, which doc_edit accepts but doc_write does not.","tags":["docs","read"],"examples":["{\"skill\":\"doc_read\",\"arguments\":{\"doc\":\"x7Kp2a\"}}"]},{"id":"doc_edit","name":"Edit a doc","description":"Change part of a doc by exact text replacement. All edits apply, or none do. if_revision takes any revision you were given. The result's revision ends in #edited: read the doc before writing it whole.","tags":["docs","write"],"examples":["{\"skill\":\"doc_edit\",\"arguments\":{\"doc\":\"x7Kp2a\",\"edits\":[{\"old\":\"Ship the beta.\",\"new\":\"Ship the beta in May.\"}]}}"]},{"id":"doc_write","name":"Replace a doc","description":"Replace a doc's whole text. base_revision must be a revision whose whole text you hold: from a full doc_read, doc_create, or a doc_write that answered without a mark. Changes made since then are kept. A revision ending in #… (a cut read, an edit, a merged write or a conflict) works only as doc_edit's if_revision.","tags":["docs","write"],"examples":["{\"skill\":\"doc_write\",\"arguments\":{\"doc\":\"x7Kp2a\",\"markdown\":\"# Q3 plan\\n\\nShipped.\",\"base_revision\":\"<revision>\"}}"]},{"id":"doc_export","name":"Export a doc","description":"Export a doc as DOCX, PDF, Markdown or HTML (needs read access). With to_art it saves the file to Tunc Art and returns a link, which needs save access.","tags":["docs","read","write"],"examples":["{\"skill\":\"doc_export\",\"arguments\":{\"doc\":\"x7Kp2a\",\"format\":\"pdf\"}}"]},{"id":"doc_delete","name":"Delete a doc","description":"Delete a doc. Its link stops working for everyone.","tags":["docs","delete"],"examples":["{\"skill\":\"doc_delete\",\"arguments\":{\"doc\":\"x7Kp2a\"}}"]}],"securitySchemes":{"apiKey":{"httpAuthSecurityScheme":{"scheme":"Bearer","description":"A Tunc API key from tunchub.com/account/keys/new"}},"oauth":{"oauth2SecurityScheme":{"description":"Sign in with Tunc and ask for resource=https://a2a.tuncdoc.com (tokens for the MCP server are refused here).","oauth2MetadataUrl":"https://core.tunc.ai/.well-known/oauth-authorization-server","flows":{"authorizationCode":{"authorizationUrl":"https://core.tunc.ai/oauth/authorize","tokenUrl":"https://core.tunc.ai/oauth/token","pkceRequired":true,"scopes":{"orb.read":"Read docs","orb.write":"Create and edit docs","orb.delete":"Delete docs"}}}}},"device":{"oauth2SecurityScheme":{"description":"Sign in with Tunc and ask for resource=https://a2a.tuncdoc.com (tokens for the MCP server are refused here). For agents without a browser.","oauth2MetadataUrl":"https://core.tunc.ai/.well-known/oauth-authorization-server","flows":{"deviceCode":{"deviceAuthorizationUrl":"https://core.tunc.ai/oauth/device_authorization","tokenUrl":"https://core.tunc.ai/oauth/token","scopes":{"orb.read":"Read docs","orb.write":"Create and edit docs","orb.delete":"Delete docs"}}}}}},"securityRequirements":[{"schemes":{"apiKey":{"list":[]}}},{"schemes":{"oauth":{"list":["orb.read"]}}},{"schemes":{"device":{"list":["orb.read"]}}}]}