naftiko: 1.0.0-alpha2 info: label: Freshworks Freshdesk API — Time Entries description: 'Freshworks Freshdesk API — Time Entries. 2 operations. Lead operation: List all time entries for a ticket. Self-contained Naftiko capability covering one Freshworks business surface.' tags: - Freshworks - Time Entries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRESHWORKS_API_KEY: FRESHWORKS_API_KEY capability: consumes: - type: http namespace: freshdesk-time-entries baseUri: https://{domain}.freshdesk.com/api/v2 description: Freshworks Freshdesk API — Time Entries business capability. Self-contained, no shared references. resources: - name: tickets-ticket_id-time_entries path: /tickets/{ticket_id}/time_entries operations: - name: listtickettimeentries method: GET description: List all time entries for a ticket outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createtickettimeentry method: POST description: Create a time entry for a ticket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.FRESHWORKS_USER}}' password: '{{env.FRESHWORKS_PASS}}' exposes: - type: rest namespace: freshdesk-time-entries-rest port: 8080 description: REST adapter for Freshworks Freshdesk API — Time Entries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tickets/{ticket-id}/time-entries name: tickets-ticket-id-time-entries description: REST surface for tickets-ticket_id-time_entries. operations: - method: GET name: listtickettimeentries description: List all time entries for a ticket call: freshdesk-time-entries.listtickettimeentries outputParameters: - type: object mapping: $. - method: POST name: createtickettimeentry description: Create a time entry for a ticket call: freshdesk-time-entries.createtickettimeentry with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: freshdesk-time-entries-mcp port: 9090 transport: http description: MCP adapter for Freshworks Freshdesk API — Time Entries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-time-entries-ticket description: List all time entries for a ticket hints: readOnly: true destructive: false idempotent: true call: freshdesk-time-entries.listtickettimeentries outputParameters: - type: object mapping: $. - name: create-time-entry-ticket description: Create a time entry for a ticket hints: readOnly: false destructive: false idempotent: false call: freshdesk-time-entries.createtickettimeentry with: body: tools.body outputParameters: - type: object mapping: $.