List the tasks defined in the source of a project, a branch or an environment to find a task to run, schedule or edit; returns every task as one page with the source files that could not be read as tasks. Requires project.runs.read.
Arguments
project_referencestringProject ID or slug
source_target_kindstringSource to read: project, main_branch, environment or preview_branch. Overrides runtime_target_kind. One of
project,main_branch,environment,preview_branch.runtime_target_kindstring | nullRuntime target to read from: main_branch, environment or preview_branch.
target_environment_idstring · uuid | nullEnvironment to read from when the target kind is environment.
target_branch_idstring · uuid | nullPreview branch to use when the target kind is preview_branch.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__list_tasks", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"data\":[{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"input_schema\":{},\"output_schema\":{},\"schedulable\":false}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"diagnostics\":[{\"kind\":\"source_file_diagnostic\",\"source_kind\":\"agent\",\"source_path\":\"string\",\"source_id\":\"string\",\"code\":\"parse_error\",\"message\":\"string\"}]}" } ], "structuredContent": { "data": [ { "id": "string", "name": "string", "description": "string", "target": "string", "source_path": "string", "edit_mode": "structured", "input_schema": {}, "output_schema": {}, "schedulable": false } ], "page_info": { "self": "string", "first": null, "next": "string", "prev": "string" }, "diagnostics": [ { "kind": "source_file_diagnostic", "source_kind": "agent", "source_path": "string", "source_id": "string", "code": "parse_error", "message": "string" } ] } }}The tool ran; its output is result.structuredContent.