sdkHosted AI, explicit consent
Dry run skill
pipeline.dryRunSkill
Simulate what an agent would do without executing any side effects. Returns the LLM's plan, intended tool calls, model used, and token usage. No DB writes, no LinkedIn sends. Use to vet a skill before turning autonomy up.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
agentRolerequired
string
No description.
scout | researcher | icp | strategist | writer | campaign_builder | closer | coach
skillIds
string[]
Optional. Skill IDs to consider; omit to let the agent pick.
userMessage
string
Optional free-text instruction for the agent.
allowHostedAi
boolean
Must be true when this operation uses Pipeline hosted inference.
Example
TypeScripttypescript
await pipeline.dryRunSkill({"agentRole": "scout","allowHostedAi": true})
Response
The operation is available, but its typed response schema has not been published yet.
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.