OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

test.agent.tool.list

Test for listing tools

  • Type: test-spec (test-spec)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @agent-console-team
  • Tags: test
  • File: packages/examples/agent-console/src/tool/tool.test-spec.ts
  • field.key.label
    test.agent.tool.list
    field.version.label
    1.0.0
    field.type.label
    test-spec (test-spec)
    field.title.label
    test.agent.tool.list
    field.description.label

    Test for listing tools

  • Type: test-spec (test-spec)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @agent-console-team
  • Tags: test
  • File: packages/examples/agent-console/src/tool/tool.test-spec.ts
  • field.tags.label
    test
    field.owners.label
    @agent-console-team
    field.stability.label
    stable

    Test for listing tools

    Source Definition

    import { defineTestSpec } from '@lssm-tech/lib.contracts-spec/tests';
    
    export const toolListTest = defineTestSpec({
    	meta: {
    		key: 'test.agent.tool.list',
    		version: '1.0.0',
    		owners: ['@agent-console-team'],
    		description: 'Test for listing tools',
    		stability: 'stable',
    		tags: ['test'],
    	},
    	target: {
    		type: 'operation',
    		operation: { key: 'agent.tool.list', version: '1.0.0' },
    	},
    	scenarios: [
    		{
    			key: 'success',
    			when: { operation: { key: 'agent.tool.list' } },
    			then: [{ type: 'expectOutput', match: {} }],
    		},
    		{
    			key: 'error',
    			when: { operation: { key: 'agent.tool.list' } },
    			then: [{ type: 'expectError' }],
    		},
    	],
    });