Serveur MCP

NotePom

com.notepom/notepom
Connaissance et documentation Productivité Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Manages a persistent workspace of notes, files, folders, shared content, public pages, collaborations, and searchable visual memory.

accept_collaboration_invitation
Accept collaboration invitation
Accept an exact pending collaboration invitation addressed to this account.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['invitationId', 'idempotencyKey'], 'properties': {'invitationId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'entityType', 'entityId'], 'properties': {'entityId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'entityType': {'enum': ['note', 'folder'], 'type': 'string'}, 'workspaceId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
create_stripe_onboarding_session
Create Stripe onboarding session
Create a short-lived Stripe Connect onboarding link with NotePom return paths.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['idempotencyKey'], 'properties': {'country': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url', 'mode'], 'properties': {'url': {'type': 'string', 'format': 'uri'}, 'mode': {'enum': ['live', 'test'], 'type': 'string'}}, 'additionalProperties': False}
delete_own_agent_account
Delete this agent account
Permanently delete only the currently authenticated agent account, its workspace, uploads, public pages, history, collaborations and every credential. Call this terminal operation only after the human operator explicitly requests deletion and provides the exact confirmation value.
Destructif Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['confirmation', 'idempotencyKey'], 'properties': {'confirmation': {'type': 'string', 'const': 'DELETE MY NOTEPOM AGENT ACCOUNT', 'description': 'Exact irreversible-deletion confirmation. Only use this after the human operator explicitly requests permanent account deletion.'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['deleted', 'identifier', 'credentialsRevoked', 'reconnectPossible'], 'properties': {'deleted': {'type': 'boolean', 'const': True}, 'identifier': {'type': 'string'}, 'reconnectPossible': {'type': 'boolean', 'const': False}, 'credentialsRevoked': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}
disable_listing
Disable listing
Reversibly stop a seller-owned listing by productId after client confirmation.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['productId', 'idempotencyKey'], 'properties': {'productId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'idempotencyKey': {'$ref': '#/properties/productId'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['listing', 'effects'], 'properties': {'effects': {'type': 'array', 'items': {'type': 'string'}}, 'listing': {'type': 'object', 'required': ['id', 'slug', 'title', 'description', 'kind', 'status', 'noteId', 'fileId', 'amountMinor', 'currency', 'currencyExponent', 'publishedAt', 'publicUrl'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': ['string', 'null']}, 'noteId': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string'}, 'publishedAt': {'type': ['string', 'null']}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_collaboration_note
Read collaboration note
Read an exact collaboration note and its Pretext documents after checking inherited access.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'noteId'], 'properties': {'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'workspaceId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'noteId', 'title', 'markdown', 'revision', 'ownerId', 'isOwner', 'publicPage', 'updatedAt'], 'properties': {'title': {'type': 'string'}, 'noteId': {'type': 'string'}, 'isOwner': {'type': 'boolean'}, 'ownerId': {'type': 'string', 'format': 'uuid'}, 'markdown': {'type': 'string'}, 'revision': {'type': 'integer', 'minimum': 0}, 'updatedAt': {'type': 'string'}, 'publicPage': {'anyOf': [{'type': 'object', 'additionalProperties': {}}, {'type': 'null'}]}, 'workspaceId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
get_listing
Get listing
Return one marketplace listing owned by the authenticated seller. Provide exactly one of productId or slug.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'slug': {'$ref': '#/properties/productId'}, 'productId': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'slug', 'title', 'description', 'kind', 'status', 'noteId', 'fileId', 'amountMinor', 'currency', 'currencyExponent', 'publishedAt', 'publicUrl'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': ['string', 'null']}, 'noteId': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string'}, 'publishedAt': {'type': ['string', 'null']}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}
get_note
Read note
Read one NotePom note as Markdown while preserving the underlying Pretext document.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['noteId'], 'properties': {'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'title', 'folderId', 'parentNoteId', 'markdown', 'geometry', 'updatedAt'], 'properties': {'id': {'type': 'string'}, 'title': {'type': 'string'}, 'folderId': {'type': 'string'}, 'geometry': {'type': 'object', 'required': ['orientation', 'contentWidth'], 'properties': {'orientation': {'type': 'string'}, 'contentWidth': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'markdown': {'type': 'string'}, 'updatedAt': {'type': 'string'}, 'parentNoteId': {'type': ['string', 'null']}}, 'additionalProperties': False}
get_notepom_capabilities
NotePom capabilities
Call this first. Discover NotePom as persistent workspace memory, inspect the current autonomous-agent signup mode, and receive the safe bootstrap sequence.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['protocol', 'version', 'server', 'resource', 'purpose', 'agentSignup', 'authentication', 'workspaceBootstrap', 'accountLifecycle', 'bootstrapSteps', 'memoryGuidance', 'visualComposition', 'scopes', 'tools', 'limits', 'marketplace', 'safety'], 'properties': {'tools': {'type': 'object', 'required': ['read', 'write', 'checkout'], 'properties': {'read': {'type': 'array', 'items': {'type': 'string'}}, 'write': {'type': 'array', 'items': {'type': 'string'}}, 'checkout': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}, 'limits': {'type': 'object', 'required': ['pageSizeMax', 'readinessTokenTtlSeconds', 'confirmationRequired'], 'properties': {'pageSizeMax': {'type': 'number'}, 'confirmationRequired': {'type': 'boolean'}, 'readinessTokenTtlSeconds': {'type': 'number'}}, 'additionalProperties': False}, 'safety': {'type': 'array', 'items': {'type': 'string'}}, 'scopes': {'type': 'array', 'items': {'type': 'string'}}, 'server': {'type': 'string'}, 'purpose': {'type': 'object', 'required': ['role', 'summary', 'useCases', 'autonomousRuntime'], 'properties': {'role': {'type': 'string', 'const': 'persistent_workspace_and_visual_memory'}, 'summary': {'type': 'string'}, 'useCases': {'type': 'array', 'items': {'type': 'string'}}, 'autonomousRuntime': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'version': {'type': 'string'}, 'protocol': {'type': 'string'}, 'resource': {'type': 'string', 'format': 'uri'}, 'agentSignup': {'type': 'object', 'required': ['mode', 'trigger', 'identifier', 'password', 'emailRequired', 'registerTool', 'verifyTool'], 'properties': {'mode': {'enum': ['open', 'email_required', 'closed'], 'type': 'string'}, 'trigger': {'type': 'string', 'const': 'persistent_memory_requested_without_existing_credentials'}, 'password': {'type': 'object', 'required': ['minLength', 'recommendedMinLength'], 'properties': {'minLength': {'type': 'integer'}, 'recommendedMinLength': {'type': 'integer'}}, 'additionalProperties': False}, 'identifier': {'type': 'object', 'required': ['minLength', 'maxLength', 'public'], 'properties': {'public': {'type': 'boolean'}, 'maxLength': {'type': 'integer'}, 'minLength': {'type': 'integer'}}, 'additionalProperties': False}, 'verifyTool': {'type': 'string', 'const': 'verify_agent_account'}, 'registerTool': {'type': 'string', 'const': 'register_agent_account'}, 'emailRequired': {'type': 'boolean'}}, 'additionalProperties': False}, 'marketplace': {'type': 'object', 'required': ['standardCommissionBps', 'completeCommissionBps', 'commissionConfigurableByServer'], 'properties': {'completeCommissionBps': {'type': 'number', 'const': 0}, 'standardCommissionBps': {'type': 'integer', 'minimum': 0}, 'commissionConfigurableByServer': {'type': 'boolean'}}, 'additionalProperties': False}, 'authentication': {'type': 'object', 'required': ['human', 'agent'], 'properties': {'agent': {'type': 'object', 'required': ['type', 'keyPrefix', 'headerTemplate', 'sentOnEveryRequest', 'oneTimeSecret', 'reconnectRequired', 'insecureHostFallback'], 'properties': {'type': {'type': 'string', 'const': 'bearer'}, 'keyPrefix': {'type': 'string', 'const': 'np_agent_'}, 'oneTimeSecret': {'type': 'boolean', 'const': True}, 'headerTemplate': {'type': 'string', 'const': 'Authorization: Bearer <agentKey>'}, 'reconnectRequired': {'type': 'boolean', 'const': True}, 'sentOnEveryRequest': {'type': 'boolean', 'const': True}, 'insecureHostFallback': {'type': 'string', 'const': 'hand_key_to_human_operator_and_wait_for_reconnection'}}, 'additionalProperties': False}, 'human': {'type': 'object', 'required': ['type', 'resource'], 'properties': {'type': {'type': 'string', 'const': 'oauth2'}, 'resource': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'bootstrapSteps': {'type': 'array', 'items': {'type': 'string'}}, 'memoryGuidance': {'type': 'array', 'items': {'type': 'string'}}, 'accountLifecycle': {'type': 'object', 'required': ['selfDeletionTool', 'agentOnly', 'permanent', 'requiresExplicitHumanRequest', 'confirmation', 'revokesAllCredentials', 'deletesWorkspace'], 'properties': {'agentOnly': {'type': 'boolean', 'const': True}, 'permanent': {'type': 'boolean', 'const': True}, 'confirmation': {'type': 'string', 'const': 'DELETE MY NOTEPOM AGENT ACCOUNT'}, 'deletesWorkspace': {'type': 'boolean', 'const': True}, 'selfDeletionTool': {'type': 'string', 'const': 'delete_own_agent_account'}, 'revokesAllCredentials': {'type': 'boolean', 'const': True}, 'requiresExplicitHumanRequest': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'visualComposition': {'type': 'object', 'required': ['documentModel', 'writeTool', 'styledBlocksField', 'mediaWorkflow', 'textAnimations', 'supports', 'base64InMarkdownAllowed', 'guidance'], 'properties': {'guidance': {'type': 'array', 'items': {'type': 'string'}}, 'supports': {'type': 'array', 'items': {'type': 'string'}}, 'writeTool': {'type': 'string', 'const': 'upsert_note'}, 'documentModel': {'type': 'string', 'const': 'pretext'}, 'mediaWorkflow': {'type': 'array', 'items': [{'type': 'string', 'const': 'upload_file'}, {'type': 'string', 'const': 'upsert_note.media'}], 'maxItems': 2, 'minItems': 2}, 'textAnimations': {'type': 'array', 'items': {'type': 'string'}}, 'styledBlocksField': {'type': 'string', 'const': 'pretextBlocks'}, 'base64InMarkdownAllowed': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'workspaceBootstrap': {'type': 'object', 'required': ['initiallyEmpty', 'rootFolderId', 'folderIdOptionalForNewNotes', 'firstAuthenticatedTool'], 'properties': {'rootFolderId': {'type': 'string', 'const': 'journal'}, 'initiallyEmpty': {'type': 'boolean', 'const': True}, 'firstAuthenticatedTool': {'type': 'string', 'const': 'list_workspace'}, 'folderIdOptionalForNewNotes': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_seller_status
Seller status
Return bounded Stripe Connect seller status and commission information.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['connected', 'country', 'currency', 'chargesEnabled', 'payoutsEnabled', 'detailsSubmitted', 'canSell', 'mode', 'commissionBps', 'standardCommissionBps', 'nextSteps'], 'properties': {'mode': {'enum': ['live', 'test'], 'type': 'string'}, 'canSell': {'type': 'boolean'}, 'country': {'type': ['string', 'null']}, 'currency': {'anyOf': [{'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, {'type': 'null'}]}, 'connected': {'type': 'boolean'}, 'nextSteps': {'type': 'array', 'items': {'type': 'string'}}, 'commissionBps': {'type': 'integer', 'minimum': 0}, 'chargesEnabled': {'type': 'boolean'}, 'payoutsEnabled': {'type': 'boolean'}, 'detailsSubmitted': {'type': 'boolean'}, 'standardCommissionBps': {'type': 'integer', 'minimum': 0}}, 'additionalProperties': False}
invite_collaborator
Invite collaborator
Invite a collaborator by NotePom username or email. To share the entire workspace as one Drive, use entityType folder with the rootFolderId returned by list_workspace. An email invitation can be created before the recipient has a NotePom account; the recipient must explicitly accept after signing in with that address.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'entityType', 'entityId', 'identity', 'idempotencyKey'], 'properties': {'entityId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'identity': {'type': 'string', 'maxLength': 320, 'minLength': 3, 'description': 'A NotePom username or an email address. Email invitations may target someone who has not created an account yet.'}, 'language': {'type': 'string', 'maxLength': 32, 'minLength': 1, 'description': 'BCP 47 language for an invitation recipient without a saved NotePom preference.'}, 'entityType': {'enum': ['note', 'folder'], 'type': 'string'}, 'workspaceId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'deliveryStatus', 'expiresAt'], 'properties': {'id': {'type': 'string', 'format': 'uuid'}, 'email': {'type': 'string', 'format': 'email'}, 'expiresAt': {'type': 'string', 'format': 'date-time'}, 'deliveryStatus': {'enum': ['pending', 'sent', 'failed'], 'type': 'string'}, 'recipientUserId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
list_collaboration_invitations
List collaboration invitations
List pending collaboration invitations addressed to the authenticated account.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['invitations'], 'properties': {'invitations': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}}, 'additionalProperties': False}
list_public_pages
List public pages
List active public pages owned by the authenticated workspace without password hashes or private URLs.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pages'], 'properties': {'pages': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}}, 'additionalProperties': False}
list_sellable_content
List sellable content
List bounded metadata for the authenticated user’s notes and media occurrences.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'kind': {'enum': ['all', 'note', 'media'], 'type': 'string'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1}, 'cursor': {'type': 'string', 'pattern': '^\\d{1,12}$'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['items', 'nextCursor'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'kind', 'title', 'noteId', 'isPublic', 'updatedAt', 'listing'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': 'string'}, 'noteId': {'type': 'string'}, 'listing': {'anyOf': [{'type': 'object', 'required': ['id', 'slug', 'title', 'description', 'kind', 'status', 'noteId', 'fileId', 'amountMinor', 'currency', 'currencyExponent', 'publishedAt', 'publicUrl'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': ['string', 'null']}, 'noteId': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string'}, 'publishedAt': {'type': ['string', 'null']}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'null'}]}, 'mediaId': {'type': 'string'}, 'isPublic': {'type': 'boolean'}, 'mimeType': {'type': 'string'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'sizeBytes': {'type': 'integer', 'minimum': 0}, 'updatedAt': {'type': 'string'}}, 'additionalProperties': False}}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}
list_seller_sales
List seller sales
Return paid seller sales only, bounded and grouped by currency.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1}, 'cursor': {'type': 'string', 'pattern': '^\\d{1,12}$'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['totals', 'sales', 'nextCursor'], 'properties': {'sales': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'productTitle', 'amountMinor', 'currency', 'currencyExponent', 'feeAmountMinor', 'status', 'at'], 'properties': {'at': {'type': ['string', 'null']}, 'id': {'type': 'string'}, 'status': {'type': 'string', 'const': 'paid'}, 'currency': {'$ref': '#/properties/totals/items/properties/currency'}, 'amountMinor': {'$ref': '#/properties/totals/items/properties/grossAmountMinor'}, 'productTitle': {'type': 'string'}, 'feeAmountMinor': {'$ref': '#/properties/totals/items/properties/grossAmountMinor'}, 'currencyExponent': {'type': 'integer', 'minimum': 0}}, 'additionalProperties': False}}, 'totals': {'type': 'array', 'items': {'type': 'object', 'required': ['currency', 'currencyExponent', 'grossAmountMinor', 'feeAmountMinor', 'netAmountMinor', 'count'], 'properties': {'count': {'type': 'integer', 'minimum': 0}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'feeAmountMinor': {'$ref': '#/properties/totals/items/properties/grossAmountMinor'}, 'netAmountMinor': {'$ref': '#/properties/totals/items/properties/grossAmountMinor'}, 'currencyExponent': {'type': 'integer', 'minimum': 0}, 'grossAmountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}
list_shared_with_me
List shared content
List collaboration targets shared with the authenticated account.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['items'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}}, 'additionalProperties': False}
list_workspace
List workspace
List the authenticated NotePom workspace tree, files and trash without private storage URLs.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspace', 'folders', 'notes', 'files', 'trash'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'notes': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'trash': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'folders': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}, 'workspace': {'type': 'object', 'additionalProperties': {}}}, 'additionalProperties': False}
move_file
Move file
Move an exact NotePom file into a folder or to the workspace root.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['fileId', 'folderId', 'idempotencyKey'], 'properties': {'fileId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'folderId': {'anyOf': [{'$ref': '#/properties/fileId'}, {'type': 'null'}]}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['moved', 'fileId', 'folderId'], 'properties': {'moved': {'type': 'boolean', 'const': True}, 'fileId': {'type': 'string'}, 'folderId': {'type': ['string', 'null']}}, 'additionalProperties': False}
move_workspace_item
Move workspace item
Move a note or folder to an exact destination.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['entityType', 'entityId', 'destinationId', 'idempotencyKey'], 'properties': {'entityId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'entityType': {'enum': ['note', 'folder'], 'type': 'string'}, 'destinationId': {'anyOf': [{'$ref': '#/properties/entityId'}, {'type': 'null'}]}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['moved', 'entityType', 'entityId', 'destinationId'], 'properties': {'moved': {'type': 'boolean', 'const': True}, 'entityId': {'type': 'string'}, 'entityType': {'enum': ['note', 'folder'], 'type': 'string'}, 'destinationId': {'type': ['string', 'null']}}, 'additionalProperties': False}
prepare_checkout
Prepare checkout handoff
Prepare a public NotePom checkout handoff without creating a Stripe session or purchase.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['slug', 'title', 'seller', 'amountMinor', 'currency', 'currencyExponent', 'checkoutUrl', 'requiresWebConsent', 'stripeSessionCreated', 'purchaseCreated'], 'properties': {'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'seller': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'checkoutUrl': {'type': 'string', 'format': 'uri'}, 'purchaseCreated': {'type': 'boolean', 'const': False}, 'currencyExponent': {'type': 'integer', 'minimum': 0}, 'requiresWebConsent': {'type': 'boolean', 'const': True}, 'stripeSessionCreated': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}
publish_media_listing
Publish media listing
Publish or update a media marketplace listing after readiness and client confirmation.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['noteId', 'amountMinor', 'currency', 'readinessToken', 'idempotencyKey', 'mediaId', 'fileId'], 'properties': {'fileId': {'$ref': '#/properties/noteId'}, 'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'mediaId': {'$ref': '#/properties/noteId'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string', 'maxLength': 4000}, 'languageMode': {'enum': ['auto', 'manual'], 'type': 'string'}, 'idempotencyKey': {'$ref': '#/properties/noteId'}, 'readinessToken': {'type': 'string', 'maxLength': 4000, 'minLength': 20}, 'contentLanguage': {'type': 'string', 'maxLength': 64}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['listing', 'listingUrl', 'effects'], 'properties': {'effects': {'type': 'array', 'items': {'type': 'string'}}, 'listing': {'type': 'object', 'required': ['id', 'slug', 'title', 'description', 'kind', 'status', 'noteId', 'fileId', 'amountMinor', 'currency', 'currencyExponent', 'publishedAt', 'publicUrl'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': ['string', 'null']}, 'noteId': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string'}, 'publishedAt': {'type': ['string', 'null']}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'listingUrl': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}
publish_note_listing
Publish note listing
Publish or update a complete-note marketplace listing after readiness and client confirmation.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['noteId', 'amountMinor', 'currency', 'readinessToken', 'idempotencyKey'], 'properties': {'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string', 'maxLength': 4000}, 'languageMode': {'enum': ['auto', 'manual'], 'type': 'string'}, 'idempotencyKey': {'$ref': '#/properties/noteId'}, 'readinessToken': {'type': 'string', 'maxLength': 4000, 'minLength': 20}, 'contentLanguage': {'type': 'string', 'maxLength': 64}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['listing', 'listingUrl', 'effects'], 'properties': {'effects': {'type': 'array', 'items': {'type': 'string'}}, 'listing': {'type': 'object', 'required': ['id', 'slug', 'title', 'description', 'kind', 'status', 'noteId', 'fileId', 'amountMinor', 'currency', 'currencyExponent', 'publishedAt', 'publicUrl'], 'properties': {'id': {'type': 'string'}, 'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'slug': {'type': 'string'}, 'title': {'type': 'string'}, 'fileId': {'type': ['string', 'null']}, 'noteId': {'type': ['string', 'null']}, 'status': {'type': 'string'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'publicUrl': {'anyOf': [{'type': 'string', 'format': 'uri'}, {'type': 'null'}]}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'description': {'type': 'string'}, 'publishedAt': {'type': ['string', 'null']}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'listingUrl': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}
publish_page
Publish page
Publish an exact note, folder or file as a NotePom public page.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['entityType', 'entityId', 'idempotencyKey'], 'properties': {'slug': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'entityId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'isIndexed': {'type': 'boolean'}, 'accessMode': {'enum': ['public', 'password'], 'type': 'string'}, 'entityType': {'enum': ['note', 'folder', 'file'], 'type': 'string'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'isListedOnProfile': {'type': 'boolean'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['page'], 'properties': {'page': {'type': 'object', 'additionalProperties': {}}, 'password': {'type': ['string', 'null']}}, 'additionalProperties': False}
purge_trash_entry
Permanently delete trash entry
Permanently delete one exact NotePom trash entry and its unreferenced stored objects.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['trashEntryId', 'idempotencyKey'], 'properties': {'trashEntryId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['purged', 'trashEntryId'], 'properties': {'purged': {'type': 'boolean', 'const': True}, 'trashEntryId': {'type': 'string'}}, 'additionalProperties': False}
read_file
Read file
Read up to 10 MiB from an authenticated NotePom file as base64 without a signed storage URL.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['fileId'], 'properties': {'fileId': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'name', 'mimeType', 'sizeBytes', 'contentBase64'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'mimeType': {'type': 'string'}, 'sizeBytes': {'type': 'number'}, 'contentBase64': {'type': 'string'}}, 'additionalProperties': False}
register_agent_account
Register autonomous agent
When persistent memory is requested and no credentials exist, create a distinct NotePom agent account. Store the returned one-time key in the host secret store, then reconnect with it as a Bearer credential.
Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['identifier', 'password'], 'properties': {'email': {'type': 'string', 'format': 'email', 'maxLength': 320}, 'language': {'type': 'string', 'maxLength': 32, 'minLength': 1}, 'password': {'type': 'string', 'maxLength': 200, 'minLength': 12}, 'identifier': {'type': 'string', 'maxLength': 64, 'minLength': 3}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status', 'reconnectRequired', 'nextTool', 'nextActions'], 'properties': {'status': {'enum': ['active', 'verification_required'], 'type': 'string'}, 'agentKey': {'type': 'string'}, 'nextTool': {'enum': ['verify_agent_account', 'list_workspace'], 'type': 'string'}, 'debugCode': {'type': 'string'}, 'delivered': {'type': 'boolean'}, 'expiresAt': {'type': 'string'}, 'requestId': {'type': 'string'}, 'identifier': {'type': 'string'}, 'nextActions': {'type': 'array', 'items': {'type': 'string'}}, 'workspaceId': {'type': 'string'}, 'oneTimeSecret': {'type': 'boolean'}, 'reconnectRequired': {'type': 'boolean'}, 'authorizationScheme': {'type': 'string', 'const': 'Bearer'}, 'authorizationHeaderTemplate': {'type': 'string', 'const': 'Authorization: Bearer <agentKey>'}}, 'additionalProperties': False}
restore_trash_entry
Restore trash entry
Restore an exact NotePom trash entry.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['trashEntryId', 'idempotencyKey'], 'properties': {'trashEntryId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['restored', 'trashEntryId'], 'properties': {'restored': {'type': 'boolean', 'const': True}, 'trashEntryId': {'type': 'string'}}, 'additionalProperties': False}
revoke_collaboration_invitation
Revoke collaboration invitation
Revoke an exact invitation issued from the authenticated workspace.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['invitationId', 'idempotencyKey'], 'properties': {'invitationId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['revoked', 'invitationId'], 'properties': {'revoked': {'type': 'boolean', 'const': True}, 'invitationId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
revoke_collaborator
Revoke collaborator access
Revoke one exact collaboration grant owned by the authenticated workspace.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['grantId', 'idempotencyKey'], 'properties': {'grantId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['revoked', 'grantId'], 'properties': {'grantId': {'type': 'string', 'format': 'uuid'}, 'revoked': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}
search_workspace
Search workspace
Search notes, folders and file metadata in the authenticated workspace.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 240, 'minLength': 1}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['results'], 'properties': {'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': {}}}}, 'additionalProperties': False}
trash_file
Move file to trash
Move an exact NotePom file to trash.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['fileId', 'idempotencyKey'], 'properties': {'fileId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['trashed', 'trashEntryId'], 'properties': {'trashed': {'type': 'boolean', 'const': True}, 'trashEntryId': {'type': 'string'}}, 'additionalProperties': False}
trash_workspace_item
Move item to trash
Move an exact note or folder and its descendants to the NotePom trash.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['entityType', 'entityId', 'idempotencyKey'], 'properties': {'entityId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'entityType': {'enum': ['note', 'folder'], 'type': 'string'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['trashed', 'trashEntryId'], 'properties': {'trashed': {'type': 'boolean', 'const': True}, 'trashEntryId': {'type': 'string'}}, 'additionalProperties': False}
unpublish_page
Unpublish page
Revoke an exact NotePom public page.
Destructif Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pageId', 'idempotencyKey'], 'properties': {'pageId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['revoked'], 'properties': {'pageId': {'type': 'string'}, 'revoked': {'type': 'boolean'}}, 'additionalProperties': True}
update_collaboration_note
Update collaboration note
Replace the shared body of an exact collaboration note from Markdown with idempotency and an optional expected revision.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'noteId', 'markdown', 'idempotencyKey'], 'properties': {'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'markdown': {'type': 'string', 'maxLength': 5000000}, 'workspaceId': {'type': 'string', 'format': 'uuid'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedRevision': {'type': 'integer', 'minimum': 0}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workspaceId', 'entityType', 'entityId', 'documentId', 'revision'], 'properties': {'entityId': {'type': 'string'}, 'revision': {'type': 'integer', 'minimum': 0}, 'documentId': {'type': 'string', 'format': 'uuid'}, 'entityType': {'type': 'string', 'const': 'note'}, 'workspaceId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
update_public_page
Update public page
Update access and visibility settings for an exact NotePom public page.
Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pageId', 'idempotencyKey'], 'properties': {'slug': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'pageId': {'type': 'string', 'format': 'uuid'}, 'isIndexed': {'type': 'boolean'}, 'accessMode': {'enum': ['public', 'password'], 'type': 'string'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'isListedOnProfile': {'type': 'boolean'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['page'], 'properties': {'page': {'type': 'object', 'additionalProperties': {}}, 'password': {'type': ['string', 'null']}}, 'additionalProperties': False}
upload_file
Upload file
Upload up to 10 MiB through NotePom without exposing a private storage URL.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'mimeType', 'contentBase64', 'idempotencyKey'], 'properties': {'name': {'type': 'string', 'maxLength': 320, 'minLength': 1}, 'fileId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'folderId': {'anyOf': [{'$ref': '#/properties/fileId'}, {'type': 'null'}]}, 'mimeType': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'contentBase64': {'type': 'string', 'maxLength': 14000000, 'minLength': 1}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'name', 'mimeType', 'sizeBytes', 'folderId'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'folderId': {'type': ['string', 'null']}, 'mimeType': {'type': 'string'}, 'sizeBytes': {'type': 'number'}}, 'additionalProperties': False}
upsert_folder
Create or update folder
Create, rename or reparent a NotePom folder.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'idempotencyKey'], 'properties': {'name': {'type': 'string', 'maxLength': 240, 'minLength': 1}, 'folderId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'parentId': {'anyOf': [{'$ref': '#/properties/folderId'}, {'type': 'null'}]}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'name', 'parentId', 'updatedAt'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'parentId': {'type': ['string', 'null']}, 'updatedAt': {'type': 'string'}}, 'additionalProperties': False}
upsert_note
Create or update note
Create or update a real Pretext note. Use markdown for simple content or pretextBlocks for text colors, highlights, typography, links and native word animations. For images/audio/video/files, call upload_file first and reference its fileId in media; media never accepts file bytes, URLs or base64. Media supports editable Pretext anchoring, fractional sizing, positioning, rotation and hidden-until-click. Omit folderId to create at the workspace root.
Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['title', 'idempotencyKey'], 'properties': {'media': {'type': 'array', 'items': {'type': 'object', 'required': ['fileId', 'kind'], 'properties': {'alt': {'type': 'string', 'maxLength': 500}, 'kind': {'enum': ['image', 'audio', 'video', 'file'], 'type': 'string'}, 'align': {'enum': ['left', 'right', 'center', 'none', 'free'], 'type': 'string'}, 'xFrac': {'type': 'number', 'maximum': 1, 'minimum': 0, 'description': 'Horizontal position as a fraction of content width.'}, 'anchor': {'type': 'integer', 'maximum': 5000000, 'minimum': 0, 'description': 'Character offset in note text, or page anchor index when anchorMode is page.'}, 'fileId': {'type': 'string', 'maxLength': 160, 'minLength': 1, 'description': 'The id returned by upload_file. Do not provide a URL or base64 payload.'}, 'dyLines': {'type': 'number', 'maximum': 1000, 'minimum': -1000, 'description': 'Vertical offset from the anchor measured in text lines.'}, 'rotation': {'type': 'number', 'maximum': 180, 'minimum': -180}, 'widthFrac': {'type': 'number', 'maximum': 1, 'minimum': 0.05, 'description': 'Media width as a fraction of content width. Required with anchor.'}, 'anchorMode': {'enum': ['text', 'page'], 'type': 'string', 'description': 'Anchor the editable Pretext medium to text flow or to the page.'}, 'hiddenUntilClick': {'type': 'boolean'}}, 'additionalProperties': False}, 'maxItems': 50}, 'title': {'type': 'string', 'maxLength': 300}, 'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'folderId': {'$ref': '#/properties/noteId'}, 'markdown': {'type': 'string', 'maxLength': 5000000, 'description': 'Simple semantic content. Never put base64, data URLs or raw HTML here; use pretextBlocks and media for visual notes.'}, 'contentMode': {'enum': ['replace', 'append', 'prepend'], 'type': 'string'}, 'parentNoteId': {'anyOf': [{'$ref': '#/properties/noteId'}, {'type': 'null'}]}, 'pretextBlocks': {'type': 'array', 'items': {'anyOf': [{'type': 'object', 'required': ['type', 'runs'], 'properties': {'runs': {'type': 'array', 'items': {'type': 'object', 'required': ['text'], 'properties': {'bold': {'type': 'boolean', 'description': 'Render this run with native Pretext bold styling.'}, 'href': {'type': 'string', 'format': 'uri', 'maxLength': 2000, 'description': 'Safe HTTP(S) or mailto link for this run.'}, 'text': {'type': 'string', 'maxLength': 100000, 'description': 'Literal text for this visual run. Raw HTML is escaped.'}, 'italic': {'type': 'boolean', 'description': 'Render this run with native Pretext italic styling.'}, 'fontSize': {'type': 'number', 'maximum': 96, 'minimum': 8, 'description': 'Font size in CSS pixels.'}, 'animation': {'enum': ['wave', 'pulse', 'rainbow', 'bounce', 'float', 'shake', 'swing', 'spin', 'typewriter', 'sparkle', 'gradient'], 'type': 'string', 'description': 'Native durable Pretext word animation.'}, 'textColor': {'type': 'string', 'pattern': '^#[0-9a-fA-F]{6}$', 'description': 'Text color as #RRGGBB.'}, 'underline': {'type': 'boolean', 'description': 'Underline this run without replacing its other styles.'}, 'fontFamily': {'enum': ['inherit', 'literata', 'atkinson'], 'type': 'string', 'description': 'A font available in the NotePom Pretext renderer.'}, 'letterSpacing': {'type': 'number', 'maximum': 0.3, 'minimum': -0.05, 'description': 'Letter spacing in em.'}, 'strikethrough': {'type': 'boolean', 'description': 'Strike through this run without replacing its other styles.'}, 'backgroundColor': {'$ref': '#/properties/pretextBlocks/items/anyOf/0/properties/runs/items/properties/textColor', 'description': 'Highlight color as #RRGGBB.'}}, 'additionalProperties': False}, 'maxItems': 200, 'minItems': 1}, 'type': {'type': 'string', 'const': 'paragraph'}, 'align': {'enum': ['left', 'center', 'right', 'justify'], 'type': 'string'}, 'lineHeight': {'type': 'number', 'maximum': 3, 'minimum': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'level', 'runs'], 'properties': {'runs': {'$ref': '#/properties/pretextBlocks/items/anyOf/0/properties/runs'}, 'type': {'type': 'string', 'const': 'heading'}, 'align': {'enum': ['left', 'center', 'right'], 'type': 'string'}, 'level': {'enum': [1, 2, 3], 'type': 'number'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'items'], 'properties': {'type': {'type': 'string', 'const': 'bulletList'}, 'items': {'type': 'array', 'items': {'$ref': '#/properties/pretextBlocks/items/anyOf/0/properties/runs'}, 'maxItems': 100, 'minItems': 1}}, 'additionalProperties': False}]}, 'maxItems': 500, 'description': 'Native visual Pretext blocks. Prefer this field when colors, typography, links or word animations matter.'}, 'idempotencyKey': {'type': 'string', 'maxLength': 160, 'minLength': 8}, 'expectedUpdatedAt': {'type': 'string', 'format': 'date-time'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id', 'title', 'folderId', 'parentNoteId', 'markdown', 'geometry', 'updatedAt'], 'properties': {'id': {'type': 'string'}, 'title': {'type': 'string'}, 'folderId': {'type': 'string'}, 'geometry': {'type': 'object', 'required': ['orientation', 'contentWidth'], 'properties': {'orientation': {'type': 'string'}, 'contentWidth': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'markdown': {'type': 'string'}, 'updatedAt': {'type': 'string'}, 'parentNoteId': {'type': ['string', 'null']}}, 'additionalProperties': False}
validate_listing_readiness
Validate listing readiness
Purely validate a note or media listing and issue a short-lived bound preparation token when ready.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['kind', 'noteId', 'amountMinor', 'currency'], 'properties': {'kind': {'enum': ['note', 'media'], 'type': 'string'}, 'fileId': {'$ref': '#/properties/noteId'}, 'noteId': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'mediaId': {'$ref': '#/properties/noteId'}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ready', 'blockers', 'warnings', 'effects', 'preparationToken', 'expiresAt', 'amountMinor', 'currency', 'currencyExponent', 'mode'], 'properties': {'mode': {'enum': ['live', 'test'], 'type': 'string'}, 'ready': {'type': 'boolean'}, 'effects': {'type': 'array', 'items': {'type': 'string'}}, 'blockers': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'field': {'type': 'string'}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'currency': {'type': 'string', 'pattern': '^[A-Za-z]{3}$'}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'expiresAt': {'type': ['string', 'null']}, 'amountMinor': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'currencyExponent': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}]}, 'preparationToken': {'type': ['string', 'null']}}, 'additionalProperties': False}
verify_agent_account
Verify autonomous agent
Complete an email-required agent registration. Store the returned one-time key in the host secret store, then reconnect with it as a Bearer credential.
Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['requestId', 'code'], 'properties': {'code': {'type': 'string', 'pattern': '^\\d{6}$'}, 'requestId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status', 'reconnectRequired', 'nextTool', 'nextActions'], 'properties': {'status': {'enum': ['active', 'verification_required'], 'type': 'string'}, 'agentKey': {'type': 'string'}, 'nextTool': {'enum': ['verify_agent_account', 'list_workspace'], 'type': 'string'}, 'debugCode': {'type': 'string'}, 'delivered': {'type': 'boolean'}, 'expiresAt': {'type': 'string'}, 'requestId': {'type': 'string'}, 'identifier': {'type': 'string'}, 'nextActions': {'type': 'array', 'items': {'type': 'string'}}, 'workspaceId': {'type': 'string'}, 'oneTimeSecret': {'type': 'boolean'}, 'reconnectRequired': {'type': 'boolean'}, 'authorizationScheme': {'type': 'string', 'const': 'Bearer'}, 'authorizationHeaderTemplate': {'type': 'string', 'const': 'Authorization: Bearer <agentKey>'}}, 'additionalProperties': False}
Ajouté
prepare_checkout
17 September 2026 12:36
Ajouté
disable_listing
17 September 2026 12:36
Ajouté
publish_media_listing
17 September 2026 12:36
Ajouté
publish_note_listing
17 September 2026 12:36
Ajouté
create_stripe_onboarding_session
17 September 2026 12:36
Ajouté
list_seller_sales
17 September 2026 12:36
Ajouté
get_listing
17 September 2026 12:36
Ajouté
validate_listing_readiness
17 September 2026 12:36
Ajouté
list_sellable_content
17 September 2026 12:36
Ajouté
get_seller_status
17 September 2026 12:36
Ajouté
revoke_collaborator
17 September 2026 12:36
Ajouté
revoke_collaboration_invitation
17 September 2026 12:36
Ajouté
accept_collaboration_invitation
17 September 2026 12:36
Ajouté
invite_collaborator
17 September 2026 12:36
Ajouté
update_collaboration_note
17 September 2026 12:36
Ajouté
get_collaboration_note
17 September 2026 12:36
Ajouté
list_shared_with_me
17 September 2026 12:36
Ajouté
list_collaboration_invitations
17 September 2026 12:36
Ajouté
unpublish_page
17 September 2026 12:36
Ajouté
update_public_page
17 September 2026 12:36
Ajouté
publish_page
17 September 2026 12:36
Ajouté
list_public_pages
17 September 2026 12:36
Ajouté
trash_file
17 September 2026 12:36
Ajouté
move_file
17 September 2026 12:36
Ajouté
read_file
17 September 2026 12:36
Ajouté
upload_file
17 September 2026 12:36
Ajouté
purge_trash_entry
17 September 2026 12:36
Ajouté
restore_trash_entry
17 September 2026 12:36
Ajouté
trash_workspace_item
17 September 2026 12:36
Ajouté
move_workspace_item
17 September 2026 12:36