naftiko: 1.0.0-alpha2 info: label: eBay Feed API — Task description: 'eBay Feed API — Task. 6 operations. Lead operation: Task. Self-contained Naftiko capability covering one Ebay business surface.' tags: - Ebay - Task created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EBAY_API_KEY: EBAY_API_KEY capability: consumes: - type: http namespace: feed-task baseUri: https://api.ebay.com{basePath} description: eBay Feed API — Task business capability. Self-contained, no shared references. resources: - name: task path: /task operations: - name: gettasks method: GET description: This method returns the details and status for an array of tasks based on a specified feed_type or schedule_id. Specifying both feed_type and schedule_id results in an erro outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: date_range in: query type: string description: Specifies the range of task creation dates used to filter the results. The results are filtered to include only tasks with a creation date that is equal to this - name: feed_type in: query type: string description: 'The feed type associated with the tasks to be returned. Only use a feedType that is available for your API:
LMS_ORDE'
- name: limit
in: query
type: string
description: The maximum number of tasks that can be returned on each page of the paginated response. Use this parameter
in conjunction with the offset para
- name: look_back_days
in: query
type: string
description: The number of previous days in which to search for tasks. Do not use with the date_range
parameter. If both date_range and look_
- name: offset
in: query
type: string
description: The number of tasks to skip in the result set before returning the first task in the paginated response.
Combine offset with the lim
- name: schedule_id
in: query
type: string
description: The unique identifier associated with the tasks being returned. A schedule periodically generates a
report for the feed type specified by the schedule template.
- name: createtask
method: POST
description: This method creates an upload task or a download task without filter criteria. When using this method,
specify the feedType and the feed file schemaVersion. The feed type specified sets the task as a
download or an upload ta
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-EBAY-C-MARKETPLACE-ID
in: header
type: string
description: The ID of the eBay marketplace where the item is hosted.
For example:
X-EBAY-C-MARKETPLACE-ID:EBAY_US
This
identifies the eBa
required: true
- name: Content-Type
in: header
type: string
description: 'This header indicates the format of the request body provided by the client. Its value should be set
to application/json.
For more information, '
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: task-task_id
path: /task/{task_id}
operations:
- name: gettask
method: GET
description: This method retrieves the details and status of the specified task. The input is task_id.
For details of how this method is used, see Note: With respect to LMS,
this method applies '
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: task_id
in: path
type: string
description: This path parameter is the unique identifier of the task associated with the input file to be downloaded.
Use
the
Reports often take time to generate and it's
common for this metho
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: task_id
in: path
type: string
description: This path parameter is the unique identifier of the task associated with the file that will be uploaded.
Use
the uploadFile. Specify the task_id
from the uploadFile call.
Note: With respect to LMS,
this method applies '
call: feed-task.getinputfile
with:
task_id: rest.task_id
outputParameters:
- type: object
mapping: $.
- path: /v1/task/{task-id}/download-result-file
name: task-task-id-download-result-file
description: REST surface for task-task_id-download_result_file.
operations:
- method: GET
name: getresultfile
description: 'This method retrieves the generated file that is associated with the specified task ID. The response
of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example:
csv.gz). For detai'
call: feed-task.getresultfile
with:
task_id: rest.task_id
outputParameters:
- type: object
mapping: $.
- path: /v1/task/{task-id}/upload-file
name: task-task-id-upload-file
description: REST surface for task-task_id-upload_file.
operations:
- method: POST
name: uploadfile
description: This method associates the specified file with the specified task ID and uploads the input file. After
the file has been uploaded, the processing of the file begins.
Reports often take time to generate and it's
common for this metho
call: feed-task.uploadfile
with:
task_id: rest.task_id
Content-Type: rest.Content-Type
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: feed-task-mcp
port: 9090
transport: http
description: MCP adapter for eBay Feed API — Task. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: this-method-returns-details-and
description: This method returns the details and status for an array of tasks based on a specified feed_type
or schedule_id. Specifying both feed_type and schedule_id results
in an erro
hints:
readOnly: true
destructive: false
idempotent: true
call: feed-task.gettasks
with:
date_range: tools.date_range
feed_type: tools.feed_type
limit: tools.limit
look_back_days: tools.look_back_days
offset: tools.offset
schedule_id: tools.schedule_id
outputParameters:
- type: object
mapping: $.
- name: this-method-creates-upload-task
description: This method creates an upload task or a download task without filter criteria. When using this method,
specify the feedType and the feed file schemaVersion. The feed type specified sets the task as a download
or an upload ta
hints:
readOnly: false
destructive: false
idempotent: false
call: feed-task.createtask
with:
X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID
Content-Type: tools.Content-Type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: this-method-retrieves-details-and
description: This method retrieves the details and status of the specified task. The input is task_id.
For details of how this method is used, see Note: With respect to LMS,
this method applies '
hints:
readOnly: true
destructive: false
idempotent: true
call: feed-task.getinputfile
with:
task_id: tools.task_id
outputParameters:
- type: object
mapping: $.
- name: this-method-retrieves-generated-file
description: 'This method retrieves the generated file that is associated with the specified task ID. The response of
this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example:
csv.gz). For detai'
hints:
readOnly: true
destructive: false
idempotent: true
call: feed-task.getresultfile
with:
task_id: tools.task_id
outputParameters:
- type: object
mapping: $.
- name: this-method-associates-specified-file
description: This method associates the specified file with the specified task ID and uploads the input file. After
the file has been uploaded, the processing of the file begins.
Reports often take time to generate and it's
common for this metho
hints:
readOnly: false
destructive: false
idempotent: false
call: feed-task.uploadfile
with:
task_id: tools.task_id
Content-Type: tools.Content-Type
outputParameters:
- type: object
mapping: $.